package com.ds.esb.expression;

import com.ds.common.ContextType;
import com.ds.annotation.EsbBeanAnnotation;
import com.ds.common.expression.function.AbstractFunction;
import com.ds.context.JDSActionContext;

import java.util.Map;

@EsbBeanAnnotation(id = "CTX", expressionArr = "GetCTX()", dataType = ContextType.Action)
public class GetCTX extends AbstractFunction {
    public Map perform() {
        return JDSActionContext.getActionContext().getContext();
    }


}
